package com.oocl.project3;


public class Person<T> {
	private int id;
	private String name;
	private String sex;
	private String birthday;
	private String call;
	private String address;
	private Person<T> per;
	private Person<T> next;
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public String getBirthday() {
		return birthday;
	}
	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}
	public String getCall() {
		return call;
	}
	public void setCall(String call) {
		this.call = call;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public Person<T> getPer() {
		return per;
	}
	public void setPer(Person<T> per) {
		this.per = per;
	}
	public Person<T> getNext() {
		return next;
	}
	public void setNext(Person<T> next) {
		this.next = next;
	}
	public Person() {
		// TODO Auto-generated constructor stub
		this.per = null;
		this.next = null;
	}
	
	public Person(String name,String sex,String birthday,String call,String address) {
		// TODO Auto-generated constructor stub
		this.name = name;
		this.sex = sex;
		this.birthday = birthday;
		this.call = call;
		this.address = address;
		this.per = null;
		this.next = null;
	}
	
	public Person(int id,String name,String sex,String birthday,String call,String address) {
		// TODO Auto-generated constructor stub
		this.id = id;
		this.name = name;
		this.sex = sex;
		this.birthday = birthday;
		this.call = call;
		this.address = address;
		this.per = null;
		this.next = null;
	}
}
